﻿<ResourceDictionary
	xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
	xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:magellan="http://xamlforge.com/magellan"
    >
    
    <Style x:Key="Frame.MainStyle" TargetType="{x:Type Frame}">
		<Setter Property="Background" Value="#FF1A1A1A"/>
		<Setter Property="FontSize" Value="10pt"/>
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="{x:Type Frame}">
                    <DockPanel Background="{TemplateBinding Background}" ClipToBounds="True">
                        <magellan:NavigationTransitionPresenter Content="{TemplateBinding Content}" />
                    </DockPanel>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
	</Style>

    <Style x:Key="Frame.WhiteStyle" TargetType="{x:Type Frame}">
        <Setter Property="Background" Value="White"/>
        <Setter Property="FontSize" Value="10pt"/>
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="{x:Type Frame}">
                    <Grid Background="{TemplateBinding Background}" ClipToBounds="True">
                        <magellan:NavigationTransitionPresenter Content="{TemplateBinding Content}" />
                    </Grid>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    
</ResourceDictionary>